package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@AllArgsConstructor
@Api(tags = "用户项目绑定表")
@TableName(value = "user_project")
public class UserProject {
    private Long id ;
    private Long userId ;
    private Long projectId ;

    public UserProject(Long userId, Long projectId) {
        this.userId = userId;
        this.projectId = projectId;
    }
    public UserProject() {

    }
}
